<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"/Users/sunxu/work/yuyi/daping/public/../application/admin/view/screen/page/index.html";i:1731077266;s:72:"/Users/sunxu/work/yuyi/daping/application/admin/view/layout/default.html";i:1725591948;s:69:"/Users/sunxu/work/yuyi/daping/application/admin/view/common/meta.html";i:1725591948;s:71:"/Users/sunxu/work/yuyi/daping/application/admin/view/common/script.html";i:1725591948;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config ?? ''); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <div class="panel panel-default panel-intro">
    
    <div class="panel-heading">
        <?php echo build_heading(null,FALSE); ?>
        <ul class="nav nav-tabs" data-field="status">
            <li class="<?php echo \think\Request::instance()->get('status') === null ? 'active' : ''; ?>"><a href="#t-all" data-value="" data-toggle="tab"><?php echo __('All'); ?></a></li>
            <?php if(is_array($statusList) || $statusList instanceof \think\Collection || $statusList instanceof \think\Paginator): if( count($statusList)==0 ) : echo "" ;else: foreach($statusList as $key=>$vo): ?>
            <li class="<?php echo \think\Request::instance()->get('status') === (string)$key ? 'active' : ''; ?>"><a href="#t-<?php echo $key; ?>" data-value="<?php echo $key; ?>" data-toggle="tab"><?php echo $vo; ?></a></li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>


    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="<?php echo __('Refresh'); ?>" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add <?php echo $auth->check('screen/page/add')?'':'hide'; ?>" title="<?php echo __('Add'); ?>" ><i class="fa fa-plus"></i> <?php echo __('Add'); ?></a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled <?php echo $auth->check('screen/page/edit')?'':'hide'; ?>" title="<?php echo __('Edit'); ?>" ><i class="fa fa-pencil"></i> <?php echo __('Edit'); ?></a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled <?php echo $auth->check('screen/page/del')?'':'hide'; ?>" title="<?php echo __('Delete'); ?>" ><i class="fa fa-trash"></i> <?php echo __('Delete'); ?></a>

<!--                        b***高级授权***-->
                        <a href="javascript:;" class="btn btn-warning btn-export <?php echo $auth->check('screen/page/export')?'':'hide'; ?>"  title="<?php echo __('Export'); ?>" ><i class="fa fa-download"></i> <?php echo __('Export'); ?></a>
                        <a href="javascript:;" class="btn btn-danger btn-import <?php echo $auth->check('screen/page/import')?'':'hide'; ?>" title="<?php echo __('Import'); ?>" id="btn-import-file" data-url="ajax/upload" data-mimetype="zip" data-multiple="false"><i class="fa fa-upload"></i> <?php echo __('Import'); ?></a>
<!--                        e***高级授权***-->

                        <div class="dropdown btn-group <?php echo $auth->check('screen/page/multi')?'':'hide'; ?>">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> <?php echo __('More'); ?></a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> <?php echo __('Set to normal'); ?></a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> <?php echo __('Set to hidden'); ?></a></li>
                            </ul>
                        </div>

                        <a class="btn btn-success btn-recyclebin btn-dialog <?php echo $auth->check('screen/page/recyclebin')?'':'hide'; ?>" href="screen/page/recyclebin" title="<?php echo __('Recycle bin'); ?>"><i class="fa fa-recycle"></i> <?php echo __('Recycle bin'); ?></a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="<?php echo $auth->check('screen/page/edit'); ?>"
                           data-operate-del="<?php echo $auth->check('screen/page/del'); ?>"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>


<style type="text/css">
    .example {
        height:100%;position: relative;
    }
    .example > span {
        position:absolute;left:15px;top:15px;
    }
    .tpl-cover-image {
        position: relative;
    }
    .tpl-cover-bg {
        position: absolute;
        background: rgba(0,0,0,.3);
        width: 100%;
        height: 100%;
        top: 0;
    }
    .tpl-title {
        position: absolute;
        color: white;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        font-size: 20px;
        top: 50%;
    }
</style>

<script id="itemtpl" type="text/html">
    <div class="col-sm-4 col-md-3">
        <!--下面四行是为了展示随机图片和标签，可移除-->
        <% var imagearr = ['']; %>
        <% var image = '/assets/addons/screen/img/bg3.png'; %>
        <% var labelarr = ['primary', 'success', 'info', 'danger', 'warning']; %>
        <% var label = labelarr[item.id % 5]; %>
        <div class="thumbnail example">
            <span class="btn btn-<%=label%>" style="z-index: 2">ID:<%=item.id%></span>
            <div class="tpl-cover-image">
                <img height="200px" src="<%=image%>" style="width:100%;filter: blur(0.5px);" alt="<%=item.title%>">
                <div class="tpl-cover-bg"></div>
                <p class="tpl-title"><%=item.title?item.title:'-'%></p>
            </div>
            <div class="caption">
                <p class="text-muted"><%=item.desc?item.desc:'无'%></p>
                <p class="text-muted">创建时间:<%=Moment(item.createtime*1000).format("YYYY-MM-DD HH:mm:ss")%></p>
                <div>
                <p>
                    <a href="<?php echo $cdnConfig['view_cdn']; ?>#/bigscreen/viewer?reportCode=<%=item.code%>" target="_blank" class="btn btn-primary btn-success btn-detail" data-id="<%=item.id%>"><i class="fa fa-crosshairs"></i> 预览</a>
                    <a href="<?php echo $cdnConfig['edit_cdn']; ?>#/bigscreen/designer?reportCode=<%=item.code%>" target="_blank" class="btn btn-primary btn-warning btn-detail" data-id="<%=item.id%>"><i class="fa fa-cubes"></i> 设计</a>
                    <a href="#" class="btn btn-primary btn-edit" data-id="<%=item.id%>"><i class="fa fa-pencil"></i> 编辑</a>
                    <a href="#" class="btn btn-info btn-dialog" data-title="分享" data-url="screen/share?page_id=<%=item.id%>"><i class="fa fa-window-restore"></i> 分享</a>
                    <span class="pull-right" style="margin-top:10px;">
                        <input name="checkbox" data-id="<%=item.id%>" type="checkbox" />
                    </span>
                </p>
<!--                   <p>-->
<!--&lt;!&ndash;                       <a href="#" class="btn btn-danger btn-del" data-id="<%=item.id%>"><i class="fa fa-times"></i> 删除</a>&ndash;&gt;-->
<!--                       <span class="pull-right" style="margin-top:10px;">-->
<!--                        <input name="checkbox" data-id="<%=item.id%>" type="checkbox" />-->
<!--                        </span>-->
<!--                   </p>-->
                </div>
            </div>
        </div>
    </div>
</script>


                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>
    </body>
</html>
